.class public Lcom/glympse/platform/common/OAuthJob$CompareNameValueNodes;
.super Lcom/glympse/platform/GComparator$NameValueNodes;
.source "OAuthJob.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/glympse/platform/common/OAuthJob;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "CompareNameValueNodes"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/glympse/platform/GComparator$NameValueNodes;"
    }
.end annotation


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 249
    invoke-direct {p0}, Lcom/glympse/platform/GComparator$NameValueNodes;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Lcom/glympse/platform/common/NameValueNode;Lcom/glympse/platform/common/NameValueNode;)I
    .locals 3
    .parameter "oNode1"
    .parameter "oNode2"

    .prologue
    .line 264
    iget-object v1, p1, Lcom/glympse/platform/common/NameValueNode;->m_strName:Ljava/lang/String;

    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p2, Lcom/glympse/platform/common/NameValueNode;->m_strName:Ljava/lang/String;

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v0

    .line 267
    .local v0, nResult:I
    if-eqz v0, :cond_0

    move v1, v0

    :goto_0
    return v1

    .line 268
    :cond_0
    iget-object v1, p1, Lcom/glympse/platform/common/NameValueNode;->m_strValue:Ljava/lang/String;

    invoke-static {v1}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iget-object v2, p2, Lcom/glympse/platform/common/NameValueNode;->m_strValue:Ljava/lang/String;

    invoke-static {v2}, Lcom/glympse/platform/common/Helpers;->SafeStr(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->compareTo(Ljava/lang/String;)I

    move-result v1

    goto :goto_0
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 1
    check-cast p1, Lcom/glympse/platform/common/NameValueNode;

    check-cast p2, Lcom/glympse/platform/common/NameValueNode;

    invoke-virtual {p0, p1, p2}, Lcom/glympse/platform/common/OAuthJob$CompareNameValueNodes;->compare(Lcom/glympse/platform/common/NameValueNode;Lcom/glympse/platform/common/NameValueNode;)I

    move-result v0

    return v0
.end method
